package com.rick.new310;

import java.io.Serializable;

/**
 * @author zhong.kaijie
 * @version 1.0
 * @create 2022/1/12 17:17
 * @since 1.0
 */
public class AutoExceptionItem implements Serializable {



    public AutoExceptionItem(Integer code, String message) {
        this.code = code;
        this.message = message;
    }


    private Integer code;
    private String message;

    public Integer getCode() {
        return code;
    }

    public AutoExceptionItem setCode(Integer code) {
        this.code = code;
        return this;
    }

    public String getMessage() {
        return message;
    }

    public AutoExceptionItem setMessage(String message) {
        this.message = message;
        return this;
    }


    @Override
    public String toString() {
        return "{" +
                "code:" + code +
                ", message:'" + message + '\'' +
                '}';
    }
}
